package cur.nature.admin.model.vo;

import cur.nature.framework.mvc.tree.TreeNode;
import cur.nature.framework.mvc.base.BaseVO;
import cur.nature.framework.mvc.http.RequestObject;
import cur.nature.framework.mvc.http.ResponseObject;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
  * 用户角色 VO
  * 作者：Auto Generate By wujian
  * 生成日期：2023-07-10 21:42:14
  */
@Data
@Schema(description = "系统部门 模型", name = "Admin_DeptVO")
public class Admin_DeptVO extends BaseVO{
        @Schema(description = "父类角色id")
        private String  parentId;

        @Schema(description = " 名称")
        private String  name;

        @Schema(description = "状态: 0-停用，1-启用")
        private Integer  state;

        @Schema(description = "描述")
        private String  descript;

    @Data
    @Schema(description = "列表查询参数", name = "Admin_DeptVO.list_Param")
    public static class list_Param extends RequestObject {
        @Schema(description = "关键字")
        private String keyword;
        private String roleId;
        @Schema(description = "顶级节点名称")
        private String nodeText;
    }

    @Data
    @Schema(description = "列表查询结果", name = "Admin_DeptVO.list_Result")
    public static class list_Result {
        @Schema(description = "树数据")
        private TreeNode treeNode;
        private List<String> checkNodeIdList;
        private List<String> expandNodeIdList;
    }
}

